package ${package}.repository;

import com.dragon.util.DaoModify;
import ${package}.entity.${className}Entity;
import com.dragon.common.JpaDao;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * ${tableComment} Repository 接口
 * </p>
 *
 * @author ${author}
 * @since ${since}
 */
@Repository
public interface ${className}Repository extends JpaDao<${className}Entity,Integer> {
    @DaoModify
    @Query("delete from ${className}Entity where id in ?1")
    void deleteByIdList(List<Integer> idList);
}
